package com.example.yoho.di.moudles;

import com.example.yoho.mvp.contract.LoginContract;
import com.example.yoho.mvp.model.LoginModel;

import dagger.Module;
import dagger.Provides;

@Module
public class LoginMoudles {


    private LoginContract.View view;

    public LoginMoudles(LoginContract.View view) {
        this.view = view;
    }

    @Provides
    public LoginContract.View loginView(){
        return view;
    }

    @Provides
    public LoginContract.Model loginModels(LoginModel model){
        return model;
    }
}
